package com.guge.sports.mapper;

import com.guge.sports.entity.Dto.Option;
import com.guge.sports.entity.Dto.StTeacherDto;
import com.guge.sports.entity.StTeacher;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guge.sports.toolPackage.utils.MyPager;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author testjava
 * @since 2022-09-14
 */
public interface StTeacherMapper extends BaseMapper<StTeacher> {

    List<Option> getGoStateTimeList();
    List<StTeacherDto> selectStTeacherPage(@Param("page") MyPager<StTeacherDto> myPager, @Param("teacher") StTeacherDto stTeacherDto);
    int selectCountStTeacherPage(@Param("teacher") StTeacherDto stTeacherDto);
}
